#pragma once

#include "Foundation.h"

class DateVerify {
public:
	enum ErrorType {
		ERR_NONE,
		ERR_BAD_DAY,
		ERR_BAD_MONTH,
		ERR_BAD_YEAR,
	};

	static ErrorType	Verify(const Date &date);				// Verify the date in a Date class object
	static ErrorType	Verify(int day, int month, int year);	// Verify the date is correct
	static bool			IsLeap(int year);						// Cheacks if it is a leap year
	static int			DaysInMonth(int month, int year);		// Returns the amount of days in a mounth
};

